package levelSystem;

import mainSystem.GameWindow;

public class LevelHandler {

	private GameWindow owner;
	
	public LevelHandler(GameWindow gw) {
		owner = gw;
	}
	public void changeLevel(GameLevel g)
	{
		owner.setCurLevel(g);
	}
	public void changeLevel(GameLevel g, int x, int y)
	{
		owner.setCurLevel(g, x, y);
	}
	public void quit() {
		owner.quit();
	}
	
}
